From: Axel Lin Date: Mon, 15 Feb 2016 12:10:40 +0000 (+0800) Subject: gpio: tps65218: Make tps65218_gpio_output set proper output level X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~2711^2~72 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=818cc6a5f8c6030d05f7dcb21970bf5f7db5dcbd;p=linux-4.9.git gpio: tps65218: Make tps65218_gpio_output set proper output level The .direction_output callback should set proper output level. Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c index 9eb1a5ab2d95..2fc7e16aee0c 100644 --- a/drivers/gpio/gpio-tps65218.c +++ b/drivers/gpio/gpio-tps65218.c @@ -59,6 +59,7 @@ static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset, int value) { /* Only drives GPOs */ + tps65218_gpio_set(gc, offset, value); return 0; }